/* ===========================
   Article Meta (hero)
=========================== */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.82rem;
    color: #555;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.article-meta-dot {
    color: #333;
}

/* ===========================
   Cover Image
=========================== */
.article-cover-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 0;
    padding: 0 5%;
}

.article-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #222;
    display: block;
}

/* ===========================
   Article Wrapper & Body
=========================== */
.article-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 52px 5% 100px;
    flex: 1;
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===========================
   Typography
=========================== */
.article-lead {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    border-left: 3px solid rgba(64, 150, 255, 0.5);
    padding-left: 18px;
}

.article-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-top: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1f1f1f;
}

.article-body p {
    font-size: 0.97rem;
    color: #aaa;
    line-height: 1.8;
}

/* ===========================
   Figures & Images
=========================== */
.article-figure {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.article-figure img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #222;
    object-fit: cover;
    display: block;
}

.article-figure figcaption {
    font-size: 0.78rem;
    color: #484848;
    text-align: center;
    font-style: italic;
}

/* Two-column image grid */
.article-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ===========================
   Callout Box
=========================== */
.article-callout {
    background: rgba(64, 150, 255, 0.07);
    border: 1px solid rgba(64, 150, 255, 0.2);
    border-left: 3px solid #4096ff;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.92rem;
    color: #bbb;
    line-height: 1.65;
}

.article-callout strong {
    color: #4096ff;
}

/* ===========================
   Comparison Table
=========================== */
.article-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #222;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.article-table thead tr {
    background: #1a1a1a;
}

.article-table th {
    padding: 12px 16px;
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #2a2a2a;
}

.article-table td {
    padding: 12px 16px;
    color: #aaa;
    border-bottom: 1px solid #1a1a1a;
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover td {
    background: #161616;
    color: #ccc;
}

.image-grid-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    object-fit: cover;
}

.Img-Item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Img-Item img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: auto;
    object-fit: cover;
}

.Img-Item span {
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.comp-img-item {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.comp-img-item img {
    margin-top: 10px;
    width: 100%;
    aspect-ratio: 620 / 309;
    object-fit: contain;
}


.MaterialImages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; /* Optional spacing */
}

.MaterialImages img {
  width: 100%;
  height: auto;
  display: block;
}

.MaterialImages span {
  display: block;
  text-align: center;
  margin-bottom: 8px;
}


.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4096ff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    margin-top: 16px;
    transition: color 0.2s;
}

.article-back-link:hover {
    color: #69b4ff;
}



.button{
    background-color: #4096ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #69b4ff;
}


.MaterialSetups {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.MaterialSetups span {
    font-weight: 600;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 6px;
    margin-top: 6px;
}




/* ===========================
   Responsive
=========================== */
@media (max-width: 600px) {
    .MaterialImages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .MaterialImages .button { min-height: 44px; }
    .article-img-grid { grid-template-columns: 1fr; }
    .article-body h2 { font-size: 1.15rem; }
    .article-lead { font-size: 1rem; }
}
